package com.memexue.order.enums;

import lombok.Getter;

@Getter
public enum OrderResultEnum {
    PARAM_ERROR(1, "参数错误"),
    CART_EMPTY(2, "购物车为空"),
    ;

    private Integer code;
    private String msg;

    OrderResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
